package com.example.javaee_library.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 库存不足异常
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoNumberException extends RuntimeException {
	private Integer code;
	private String msg;
	public NoNumberException(String message) {
		super(message);
	}

	public NoNumberException(String message, Throwable cause) {
		super(message, cause);
	}

}
